<?php
	try {
		ini_set('display_errors', 0);
		$connection = mysql_connect("1.234.20.151", "cam", "5678" ) ;
		if(!$connection){		
			session_destroy();	
			include '../index.php';	
		}		
		if(!mysql_select_db("eliremote")){		
			session_destroy();	
			include '../index.php';	
		}
		if(!mysql_query("SET CHARACTER SET 'utf8'", $connection)){		
			session_destroy();	
			include '../index.php';	
		}
	} catch (Exception $e) {
		session_destroy();
		include '../index.php';	
		
	}
		
?>